package jsu.blogger.controller;

import jsu.blogger.pojo.Result;
import jsu.blogger.util.ReturnResultUtil;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {
    @PostMapping("/test1")
    public Result test1() {
        return ReturnResultUtil.success();
    }
    @GetMapping("/test2")
    public Result test2() {
        return ReturnResultUtil.success();
    }
}